package com.xiaoyang.friend.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoyang.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("tb_exam_question")
public class ExamQuestion extends BaseEntity {

    /**
     * 竞赛题目id
     */
    @TableId(value = "EXAM_QUESTION_ID", type = IdType.ASSIGN_ID)
    private Long examQuestionId;

    /**
     * 题目id
     */
    private Long questionId;

    /**
     * 竞赛id
     */
    private Long examId;

    /**
     * 题目顺序
     */
    private Integer questionOrder;
}
